package io.bdmc.modules.bss.service;

import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.SmkAlarm;
import io.bdmc.modules.bss.model.AlarmParam;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huang lu
 * @since 2019-01-21
 */
public interface ISmkAlarmService extends IService<SmkAlarm> {
    MyPage<SmkAlarm> mySelectPage(MyPage<SmkAlarm> page,AlarmParam param);
    MyPage<SmkAlarm> wxSelectAlarm(MyPage<SmkAlarm> page, AlarmParam param);
    List<SmkAlarm> wxSelectAlarmByShopId(int id) ;
    Map<String,Object> wxAlarmSum(Long deptId);
    List<Map<String,Object>> homeAlarmYearChart(Long deptId);
    List<Map<String,Object>> homeDeptAlarmDescTwoMonth(Long deptId);
    Map<String,Object> homeAlarmSum(Long deptId);
    Map<String,Object> homeAlarmSumByMonth(Long deptId, Integer month);
    List<Map<String, Object>> homePlaceAlarmSum(Long deptId);
    List<Map<String,Object>> homeFireAlarmReasonSum(Long deptId);
    List<Map<String,Object>> homeHiddenAlarmPlace(Long deptId);
    List<Map<String,Object>> homeDeptHiddenAlarmSum(Long deptId);
    List<Map<String,Object>> homeDeptRealtimeAlarm(Long deptId);
    List<Map<String,Object>> homeWeekHoursAlarm(Long deptId);
    List<Map<String,Object>> allPlaceAlarmSum(Long deptId);
    Map<String,Object> todayAlarmSum(Long deptId);
    List<Map<String,Object>> todayAlarmDetail(Long deptId);
    List<Map<String,Object>> yearAlarmReasonSum(Long deptId);

    List<Map<String,Object>> fireAlarmDeptSumByMonth( Long deptId, Integer month);
    List<Map<String,Object>> fireAlarmPlaceSumByMonth( Long deptId, Integer month);
    List<Map<String,Object>> fireAlarmReasonSumByMonth( Long deptId, Integer month);
	List<Map<String, Object>> fireHiddenAlarmDeptSumByMonth(Long deptId, int month);
	List<Map<String, Object>> fireHiddenAlarmPlaceSumByMonth(Long deptId, int month);

}
